var orderMixin = {
	methods: {
		getStateColor(state) {
			// 系统审核中0  待终审3  终审驳回5 待放款6 已放款7 初审通过10 补充资料待确认11 已归档待审批13 已完成15 绿色
			// 初审拒绝1   终审拒绝4  归档资料有误14 红色
			// 待补充资料2 补充资料驳回12  黄色
			// 已关闭9  已取消8    灰色
			const green = ['0', '3', '5', '6', '7','10','11','13','15']
			const red = ['1', '4','14']
			const yellow = ['2','12']
			const hui = ['8', '9']
			if (green.includes(state)) {
				return '.shenhezhuangtai_green'
			} else if (red.includes(state)) {
				return '.shenhezhuangtai_red'
			} else if (yellow.includes(state)) {
				return '.shenhezhuangtai_yellow'
			} else {
				return '.shenhezhuangtai_hui'
			}
		}
	},
}

export default orderMixin